package com.liefox.mapper;

import com.liefox.pojo.Patient;
import com.liefox.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 患者信息类
 **/
@Mapper
@Repository
public interface PatientMapper {
    /*查看全部患者信息*/
    public List<Patient> getPatientInfo();
    /*查看患者信息*/
    public Patient getPatientInfoByUUID(@Param("UUID") String UUID);
    /*删除病人信息*/
    public int delPatientInfoByUUID(@Param("UUID") String UUID);
    /*修改患者信息*/
    public int upPatientInfoByUUID(Patient patient);
    /*新增患者*/
    public int addPatientInfo(Patient patient);
    /*获取病人人数*/
}
